package com.matt.foundation.vo;

import lombok.Data;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/11
 * *******************************
 */
@Data
public class ClassesListVo {

    private String id;
    private String name;
    private String studentNum;
    private String baseTime;

    public static ClassesListVo of(Object[] objects){
        ClassesListVo vo = new ClassesListVo();
        vo.setId(String.valueOf(objects[0]));
        vo.setName(String.valueOf(objects[1]));
        vo.setStudentNum(String.valueOf(objects[2]));
        vo.setBaseTime(String.valueOf(objects[3]));
        return vo;
    }
}
